package com.example.hszpad.bean;

import android.widget.ImageView;
import android.widget.TextView;

import java.io.Serializable;
import java.util.List;

/**
 * 数据点
 * Created by Administrator on 2017/4/21.
 */

public class DataPointBean implements Serializable {
    private int id;
    private int offset;
    private int address;
    private int width;
    private int height;
    private int x;
    private int y;
    private String dataType;
    private int bitIndex;
    private String val;
    private int type;
    private int isLight;
    private String onImage;
    private String offImage;
    private ImageView imageView;
    private boolean switchVal;
    private TextView textView;
    private int OnShow;
    private String condition;



    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    public int getOnShow() {
        return OnShow;
    }

    public void setOnShow(int onShow) {
        OnShow = onShow;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getIsLight() {
        return isLight;
    }

    public void setIsLight(int isLight) {
        this.isLight = isLight;
    }

    public int getAddress() {
        return address;
    }

    public void setAddress(int address) {
        this.address = address;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public String getVal() {
        return val;
    }

    public void setVal(String val) {
        this.val = val;
    }

    public TextView getTextView() {
        return textView;
    }

    public void setTextView(TextView textView) {
        this.textView = textView;
    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getOnImage() {
        return onImage;
    }

    public void setOnImage(String onImage) {
        this.onImage = onImage;
    }

    public String getOffImage() {
        return offImage;
    }

    public void setOffImage(String offImage) {
        this.offImage = offImage;
    }

    public ImageView getImageView() {
        return imageView;
    }

    public void setImageView(ImageView imageView) {
        this.imageView = imageView;
    }

    public boolean isSwitchVal() {
        return switchVal;
    }

    public void setSwitchVal(boolean switchVal) {
        this.switchVal = switchVal;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public int getBitIndex() {
        return bitIndex;
    }

    public void setBitIndex(int bitIndex) {
        this.bitIndex = bitIndex;
    }
}

